// pages/example/button/button.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    lables: ['设备状态', '请归还于'],
    options: [{
        label: "一天",
        value: "一天"
      },
      {
        label: "两天",
        value: "两天"
      },
      {
        label: "三天",
        value: "三天"
      },
      {
        label: "四天",
        value: "三天"
      }
    ],
    checked: false
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },
  /**
   * 显示添加地址弹窗
   */
  showAddAddress() {
    const address = this.selectComponent('#address');
    address.show()
  },
  /**
   * 显示模态框
   */
  showModal() {
    const modal = this.selectComponent('#modal')
    modal.show()
  },
  showDialog () {
    this.selectComponent('#dialog').show()
  },
  bindChange (e) {
    console.log(e.detail)
  },
})